[INFO] cloning repository https://github.com/EmmanuelMess/PaintIt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmmanuelMess/PaintIt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmmanuelMess%2FPaintIt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmmanuelMess%2FPaintIt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00443b8312e266f4b42959d3ac912fb2a3e560ae
[INFO] fixing EmmanuelMess/PaintIt against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmmanuelMess%2FPaintIt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EmmanuelMess/PaintIt
[INFO] finished tweaking git repo https://github.com/EmmanuelMess/PaintIt
[INFO] tweaked toml for git repo https://github.com/EmmanuelMess/PaintIt written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EmmanuelMess/PaintIt on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EmmanuelMess/PaintIt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4
[INFO] running `Command { std: "docker" "start" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling cc v1.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]     Checking shrev v1.1.3
[INFO] [stderr]     Checking hibitset v0.6.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling cmake v0.1.51
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]     Checking tynm v0.1.10
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.2
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.2
[INFO] [stderr]     Checking rand v0.9.0-alpha.2
[INFO] [stderr]    Compiling raylib-sys v5.0.2
[INFO] [stderr]     Checking raylib v5.0.2
[INFO] [stderr]     Checking PaintIt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/actions/action_state.rs (1 fix)
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.03s
[INFO] [stderr] crater-edition-check: PaintIt v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking PaintIt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut current_pressed: Option<ActionState> = None;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut current_colors: [Color; 2] = [Color::BLACK, Color::WHITE];
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut canvas_image = Image::gen_image_color(743, 406, TRANSPARENT);
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut canvas_dirty = false;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut canvas_texture = rl.load_texture_from_image(&thread, &canvas_image).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut current_pressed: Option<ActionState> = None;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut current_colors: [Color; 2] = [Color::BLACK, Color::WHITE];
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut canvas_image = Image::gen_image_color(743, 406, TRANSPARENT);
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut canvas_dirty = false;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ui.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut canvas_texture = rl.load_texture_from_image(&thread, &canvas_image).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 157 | |                 if canvas_pressed {
[INFO] [stdout] 158 | |                     specific_state.update_pressed(&self.user_state, &mut self.rl, &self.thread);
[INFO] [stdout] 159 | |                 } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |              });
[INFO] [stdout]     | |_______________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PaintIt` (lib test) due to 20 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:42:38
[INFO] [stdout]     |
[INFO] [stdout]  42 |               ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  42 |             &mut ActionState::PaintBucket(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:43:38
[INFO] [stdout]     |
[INFO] [stdout]  43 |               ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  43 |             &mut ActionState::ColorPicker(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout]  45 |               ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  45 |             &mut ActionState::Pencil(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:46:32
[INFO] [stdout]     |
[INFO] [stdout]  46 |               ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  46 |             &mut ActionState::Brush(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:47:32
[INFO] [stdout]     |
[INFO] [stdout]  47 |               ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  47 |             &mut ActionState::Spray(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:49:31
[INFO] [stdout]     |
[INFO] [stdout]  49 |               ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  49 |             &mut ActionState::Line(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout]  51 |               ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  51 |             &mut ActionState::Rectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  52 |               ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  52 |             &mut ActionState::Polygon(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:53:34
[INFO] [stdout]     |
[INFO] [stdout]  53 |               ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  53 |             &mut ActionState::Ellipse(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/actions/action_state.rs:54:43
[INFO] [stdout]     |
[INFO] [stdout]  54 |               ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ui.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 | /             specify_state!(generic_state, specific_state, {
[INFO] [stdout] 232 | |                     specific_state.draw_state(&self.user_state, &mut handle, &self.thread);
[INFO] [stdout] 233 | |                 });
[INFO] [stdout]     | |__________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `specify_state` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]  54 |             &mut ActionState::RoundedRectangle(ref mut $state) => $expr,
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PaintIt` (lib) due to 20 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4", kill_on_drop: false }`
[INFO] [stdout] 8c8cb23db2c8882f6a6ea209e3bdb1fb8a356ba319a8263919d98cc75cf03ef4
